package com.opennews.openplatform

class UserRole {
	String id
	AccountGroup accountGroup
	User user
	Role role

	static constraints = {
		accountGroup nullable: false
		user nullable: false
		role nullable: false, unique: ["accountGroup", "user"]
	}

	static mapping = {
		version false
	}
}